﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MVCms.Core.Entities;

namespace MVCms.Core.Services
{
    public static class RoleService
    {
        /// <summary>
        /// Saves the specified page role.
        /// </summary>
        /// <param name="pageRole">The page role.</param>
        public static void Save(this PageRole pageRole)
        {
            DataAccess.McContext.Save(pageRole);
        }
    }
}
